package com.budwk.app.sqfwV2.dto;

import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @BelongsProject: dfxy-shequ
 * @Author: yangweimin
 * @CreateTime: 2024-06-18  16:29
 * @Description: TODO
 */
@Data
public class WorkSummaryDTO {
    @ApiModelProperty(description = "类型")
    private String type;
    @ApiModelProperty(description = "userId")
    private String userId;
    @ApiModelProperty(description = "userName")
    private String userName;
    @ApiModelProperty(description = "总任务数")
    private int total;
    @ApiModelProperty(description = "有隐患数")
    private int isHiddenNum;
    @ApiModelProperty(description = "无隐患数")
    private int noHiddenNum;

    private List<Place> list;

    @Data
    public static class Place {
        @ApiModelProperty(description = "巡查时间")
        private Date fillDate;
        @ApiModelProperty(description = "店铺名称")
        private String name;
        @ApiModelProperty(description = "法人")
        private String legalPerson;
        @ApiModelProperty(description = "隐患内容")
        private String hidden;
        @ApiModelProperty(description = "宣传排查主题")
        private String theme;
        @ApiModelProperty(description = "宣传/排查")
        private String type;
    }
}
